﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace RedemptoristRetreatCenter.DatabaseUtility
{
    public class UserAccountInfo
    {
        public int userId { get; set; }
        public string username { get; set; }
        public string password { get; set; }
        public bool administrator { get; set; }
        public bool staff { get; set; }
        public bool volunteer { get; set; }
        public string firstName { get; set; }
        public string lastName { get; set; }
        public string addressLine1 { get; set; }
        public string addressLine2 { get; set; }
        public string city { get; set; }
        public string state { get; set; }
        public string zipCode { get; set; }
        public string homePhone { get; set; }
        public string cellPhone { get; set; }
        public string businessPhone { get; set; }
        public string emailAddress { get; set; }
        public string biographyUrl { get; set; }
        public string modifiedBy { get; set; }
        public DateTime modifiedTimestamp { get; set; }

        public UserAccountInfo()
        {
        }


        // user name should be dynamically set within the database
        public UserAccountInfo(string username, string password, bool administrator, bool staff, bool volunteer,
                                     string firstName, string lastName, string addressLine1, string addressLine2, string city, string state,
                                     string zipCode, string homePhone, string cellPhone, string businessPhone, string emailAddress, string biographyUrl,
                                     string modifiedBy, DateTime modifiedTimestamp)
        {
            this.username = username;
            this.password = password;
            this.administrator = administrator;
            this.staff = staff;
            this.volunteer = volunteer;
            this.firstName = firstName;
            this.lastName = lastName;
            this.addressLine1 = addressLine1;
            this.addressLine2 = addressLine2;
            this.city = city;
            this.state = state;
            this.zipCode = zipCode;
            this.homePhone = homePhone;
            this.cellPhone = cellPhone;
            this.businessPhone = businessPhone;
            this.emailAddress = emailAddress;
            this.biographyUrl = biographyUrl;
            this.modifiedBy = modifiedBy;
            this.modifiedTimestamp = modifiedTimestamp;
        }

    }
}